Package-level declarations
Types
Link copied to clipboard
interface ActivityEncapsulatable
Link copied to clipboard
class LoadingView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0, defStyleRes: Int = 0) : FrameLayout, PaywallPurchaseLoadingView
Link copied to clipboard
interface PaywallPurchaseLoadingView
Link copied to clipboard
interface PaywallShimmerView
Link copied to clipboard
class PaywallView(context: Context, val eventCallback: PaywallViewEventCallback? = null, var callback: PaywallViewDelegateAdapter? = null, val deviceHelper: DeviceHelper, val factory: PaywallView.Factory, val storage: LocalStorage, webView: PaywallWebUI, cache: PaywallViewCache?, val controller: PaywallView.PaywallController, val sendMessages: SendPaywallMessages, redeemer: WebPaywallRedeemer) : FrameLayout, PaywallMessageHandlerDelegate, PaywallUIDelegate, PaywallStateDelegate, ActivityEncapsulatable, GameControllerDelegate, SendPaywallMessages
Link copied to clipboard
data class PaywallViewState(val paywall: Paywall, val locale: String, val request: PresentationRequest? = null, val presentationStyle: PaywallPresentationStyle = paywall.presentation.style, val paywallStatePublisher: MutableSharedFlow<PaywallState>? = null, val paywallResult: PaywallResult? = null, val dismissCompletionBlock: () -> Unit? = null, val callbackInvoked: Boolean = false, val viewCreatedCompletion: (Boolean) -> Unit? = null, val isBrowserViewPresented: Boolean = false, val interceptTouchEvents: Boolean = false, val surveyPresentationResult: SurveyPresentationResult = SurveyPresentationResult.NOSHOW, val loadingState: PaywallLoadingState = PaywallLoadingState.Unknown, val isPresented: Boolean = false, val presentationWillPrepare: Boolean = true, val presentationDidFinishPrepare: Boolean = false, val didDisableSwipeForSurvey: Boolean = false, val unsavedOccurrence: TriggerRuleOccurrence? = null, val useMultipleUrls: Boolean = false, val crashRetries: Int = 0, val lastOpen: Date? = null)
Link copied to clipboard
class ShimmerView(context: Context, attrs: AttributeSet? = null) : AppCompatImageView, PaywallShimmerView
Link copied to clipboard
Link copied to clipboard
interface ViewStorage
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
fun <T : View, PaywallPurchaseLoadingView> T.setupFor(paywallView: PaywallView, loadingState: PaywallLoadingState)
fun <T : PaywallShimmerView, View> T.setupFor(paywallView: PaywallView, loadingState: PaywallLoadingState)